package util;

import java.util.Timer;
import java.util.TimerTask;

public class MxTimer {
    public static void main(String[] args) {
        Timer timer = new Timer("xiao", false);

        timer.schedule(new TimerTask() {
            @Override
            public void run() {
                System.out.println("进行中...");
            }
        }, 1000, 1000);
    }
}
